package session2.overridden;

public class Dog2 extends Animal2 {

	@Override
	public void eat(Object o, String comment) throws Exception {
		super.eat(o, comment);
	}

	public static void main(String[] args) throws Exception {
		Animal2 a = new Animal2();
		Dog2 d = new Dog2();

		a.eat(a, "Animal");
		d.eat(d, "Dog2");
	}

}
